<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <meta name="description" content="A fully featured admin theme which can be used to build CRM, CMS, etc.">
    <meta name="author" content="Coderthemes">

    <link rel="stylesheet" href="/adminstatic/base/base.css"/>
    <script src="/adminstatic/base/baseCss.js"></script>
    <style type="text/css">
        html, body {
            background: #fff;
        }
    </style>
</head>

<body class="fixed-left">
<!-- Begin page -->
<div id="wrapper" style="overflow: auto;">
    <div class="container">
        <div class="panel panel-default" style="box-shadow: none">
            <div class="panel-body">
                <div class="layui-form-item">
                    <label class="layui-form-label">内容</label>
                    <div class="layui-input-block">
                        <!--            <textarea id="lay_edit" lay-verify="content" name = "text" ></textarea>-->
                        <!--kindEditor编辑器的主体-->
                        <textarea hidden name="editor" id="editor" style="width:100%; height:200px;"></textarea>
                    </div>

                </div>
                <div id="actions">
                    <button type="button" class="layui-btn layui-btn-normal" id="submitBtn">保存</button>
                    <button type="button" class="layui-btn layui-btn-primary" onclick="closeIframe()">取消</button>
                </div>
            </div>
        </div>
    </div> <!-- container -->

</div>
<!-- END wrapper -->

<script src="/adminstatic/base/base.js"></script>
<script>


    $("#submitBtn").click(function () {
        console.log(CKEDITOR.instances.editor.getData())
    })

</script>
</body>
</html>